﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for MyDBParameter
/// </summary>
public class MyDBParameter
{
    public string ParameterName { get; set; }
    public ParameterDirection Direction { get; set; }
    public object Value { get; set; }

	public MyDBParameter(string parameterName, object value)
	{
        ParameterName = parameterName;
        Direction = ParameterDirection.Input;
        Value = value;
	}

    public MyDBParameter(string parameterName, object value, ParameterDirection direction)
    {
        ParameterName = parameterName;
        Direction = direction;
        Value = value;
    }
}